package org.example.entity;

public class user {
     int id;
     String name;
     String charst;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCharst() {
        return charst;
    }

    public void setCharst(String charst) {
        this.charst = charst;
    }


    public user(String name, String charst) {
        this.name = name;
        this.charst = charst;
    }
    public user() {}
    public user(Integer id, String name, String charst) {
        this.id = id;
        this.name = name;
        this.charst = charst;
    }


    public user(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "usermap{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", charst='" + charst + '\'' +
                '}';
    }
}
